﻿using System.Web;
using System.Web.Mvc;

namespace DotNetMVC.OA.UI.Portal
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //filters.Add(new HandleErrorAttribute());

            //自定义错误处理
            filters.Add(new ResetHandleErrorAttribute());

            //登录验证
            //filters.Add(new LoginCheckActionFilterAttribute() { IsCheck=true });
        }
    }
}
